<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./js/react.development.js"></script>
    <script src="./js/react-dom.development.js"></script>
    <script src="./js/babel.min.js"></script>
</head>
<body>
    <div id="root"></div>
    <script type="text/babel">
        let vdom=React.createElement('div',null,
        React.createElement('p',null,'学习react'),
        React.createElement('a',{href:'http://baidu.com'},'百度一下'),
        React.createElement('h1',null,'dom节点嵌套')
        );

        ReactDOM.render(vdom,document.querySelector('#root'));
    </script>
</body>
</html>